//
//  RechargeViewController.m
//  DianDangDai
//
//  Created by bhf on 2017/12/19.
//  Copyright © 2017年 bhf. All rights reserved.
//

#import "RechargeViewController.h"
#import "AttributedIntString.h"
@interface RechargeViewController ()

@end

@implementation RechargeViewController

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    [self.navigationController setNavigationBarHidden:NO animated:animated];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setupViews];
    self.title = @"充值";
    // Do any additional setup after loading the view.
}

- (void)setupViews {
    self.bottomBtn.layer.cornerRadius = 22;
    AttributedIntString *ais = [[AttributedIntString alloc] init];
    self.balance.attributedText = [ais attributedStringWithString:@"账户余额20000元" setTextColor:[UIColor colorWithHex:@"#333333"]];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
